package com.jhgk.jhcee.auth.mapper;

import com.jhgk.jhcee.auth.model.OptionalSubject;
import com.jhgk.jhcee.auth.model.OptionalSubjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OptionalSubjectMapper {
    long countByExample(OptionalSubjectExample example);

    int deleteByExample(OptionalSubjectExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OptionalSubject record);

    int insertSelective(OptionalSubject record);

    List<OptionalSubject> selectByExample(OptionalSubjectExample example);

    OptionalSubject selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OptionalSubject record, @Param("example") OptionalSubjectExample example);

    int updateByExample(@Param("record") OptionalSubject record, @Param("example") OptionalSubjectExample example);

    int updateByPrimaryKeySelective(OptionalSubject record);

    int updateByPrimaryKey(OptionalSubject record);
}